package com.taxer.service;

import com.taxer.db.entity.Company;
import com.taxer.exception.TaxerExcepiton;

import java.util.List;

public interface CompanyService {
    public int addCompany(Company company) throws TaxerExcepiton;

    public Company findCompany(Company company) throws  TaxerExcepiton;

    public  int deleteCompany(Company company) throws  TaxerExcepiton;

    public  int updateCompany(Company company) throws  TaxerExcepiton;

    public List<Company> selectAllCompany() throws  TaxerExcepiton;
}
